package com.woniuxy.usercoachassemble.entity;

import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 上次登录地址
 * </p>
 *
 * @author Lucas
 * @since 2020-07-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Userinfo implements Serializable {

    private static final long serialVersionUID=1L;
    @TableId(value = "userinfo_id", type = IdType.AUTO)
    private Integer userinfoId;

    private Integer userId;

    private String realName;

    /**
     * 头像
     */
    private String headPortrait;

    private String nickname;

    private Integer infoLevel;

    /**
     * 上次登录地址
     */
    private String preLoginAddress;

    private Integer acccountId;

    private String qq;

    private String wechat;

    /**
     * 联系电话
     */
    private String telphone;

    private Integer a;

    private String b;

    private String c;
//不交给mybatis管理
    @TableField(exist=false)
    private User user;
    @TableField(exist=false)
    private  CoachInfo coachInfo;
    @TableField(exist=false)
    private List<CoachTime> coachTime;
}
